<form name="libraryForm" class="dialog_form" novalidate>
	<table>
		<tr>
			<td colspan=2 width="450">
				<label class="form_group">
					<div class="form_group_title">下载文件名</div>
					<input type="text" ng-model="setting.downloadName" required/>
				</label>
			</td>
		</tr>
		<tr>
			<td>
				<label class="form_group">
					<div class="form_group_title">class 前缀</div>
					<input ng-model="setting.classPrefix" type="text"/>
				</label>
			</td>
			<td>
				<label class="form_group">
					<div class="form_group_title">图标尺寸(px)</div>
					<input ng-model="setting.iconSize" type="number"/>
				</label>
			</td>
		</tr>
		<tr>
			<td>
				<label class="form_group">
					<div class="form_group_title">上下矫正量(em)</div>
					<input ng-model="setting.dy" type="number"/>
				</label>
			</td>
			<td>
				<label class="form_group">
					<div class="form_group_title">左右矫正量(em)</div>
					<input ng-model="setting.dx" type="number"/>
				</label>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<div class="form_group">
					<div class="form_group_title">元素类型(用于呈现图标)</div>
					<label class="radio">
						<input ng-model="setting.elementType" value="0" name="selector" type="radio"/>
						<span class="radio_text">:before</span>
					</label>
					<label class="radio">
						<input ng-model="setting.elementType" value="1" name="selector" type="radio"/>
						<span class="radio_text">:after</span>
					</label>
					<label class="radio">
						<input ng-model="setting.elementType" value="2" name="selector" type="radio"/>
						<span class="radio_text">&lt;i&gt;元素</span>
					</label>
				</div>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<label class="form_group">
					<div class="form_group_title">readme.md</div>
					<textarea ng-model="setting.readme" rows="4" cols="45"></textarea>
				</label>
			</td>
		</tr>
		<tr>
			<td><button class="form_btn" loading="savingSetting" ng-click="save();" ng-disabled="libraryForm.$invalid">下载到本地生</button></td>
			<td><button class="form_btn" loading="savingSetting" ng-click="save(true);" ng-disabled="libraryForm.$invalid">成在线图标</button></td>
		</tr>
	</table>
</form>